false readings from acs712 is a subject of electrical noise I also faced it coper&wires from acs712 to MCU have to be as short as possible